package com.gongzhiyun.springboot3test.vo;

import com.gongzhiyun.springboot3test.validate.CommonValidate;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
public class ParamsPwd implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @NotBlank(message = "旧密码不能为空",groups = {CommonValidate.update.class})
    private String oldPwd;
    @NotBlank(message = "新密码不能为空",groups = {CommonValidate.update.class})
    private String newPwd01;
    @NotBlank(message = "新密码不能为空",groups = {CommonValidate.update.class})
    private String newPwd02;
}
